<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[rules]" value="{$row.rules}" />
    <input type="hidden" name="row[id]" value="{$row.id}" />
    <table class="table table-striped">

        <tbody>
            <tr>
                <td style="width: 250px;">{:__('身份名称')}:</td>
                <td style="word-break: break-all;"><input id="c-name" class="form-control" name="row[name]" type="text"
                        value="{$row.name|htmlentities}"></td>
            </tr>
            <!-- {if $row['id']==2}
       
            <tr data-favisible="id=2">
                <td style="width: 250px;">降级规定时间（天）(降级)</td>
                <td style="word-break: break-all;"><input id="c-range" class="form-control" name="row[set_the_time]" type="number"
                        value="{$row.set_the_time|htmlentities}"></td>
            </tr>
            <tr data-favisible="id=2">
                <td style="width: 250px;">本人规定时间消费金额（元）(降级)</td>
                <td style="word-break: break-all;"><input id="c-range" class="form-control" name="row[downgrade_amount]" type="number"
                        value="{$row.downgrade_amount|htmlentities}"></td>
            </tr>
            <hr>
            <tr data-favisible="id=2">
                <td style="width: 250px;">直推用户数量(升级)</td>
                <td style="word-break: break-all;"><input id="c-direct_num" class="form-control" name="row[direct_num]"
                        type="number" value="{$row.direct_num|htmlentities}"></td>
            </tr>
            <tr data-favisible="id=2">
                <td style="width: 250px;">直推用户等级大于等于自己数量(升级)</td>
                <td style="word-break: break-all;"><input id="c-num" class="form-control" name="row[num]" type="number"
                        value="{$row.num|htmlentities}"></td>
            </tr>
            <tr data-favisible="id=2">
                <td style="width: 250px;">升级规定时间（天）(升级)</td>
                <td style="word-break: break-all;"><input id="c-day" class="form-control" name="row[day]" type="number"
                        value="{$row.day|htmlentities}"></td>
            </tr>
            <tr data-favisible="id=2">
                <td style="width: 250px;">本人规定时间消费金额（元）(升级)</td>
                <td style="word-break: break-all;"><input id="c-personal_amount" class="form-control"
                        name="row[personal_amount]" type="number" value="{$row.personal_amount|htmlentities}"></td>
            </tr>
            <tr data-favisible="id=2">
                <td style="width: 250px;">团队规定时间消费金额(升级)（元）</td>
                <td style="word-break: break-all;"><input id="c-team_amount" class="form-control"
                        name="row[team_amount]" type="number" value="{$row.team_amount|htmlentities}"></td>
            </tr>
            <tr data-favisible="id=2">
                <td style="width: 250px;">{:__('Status')}</td>
                <td style="word-break: break-all;"> {foreach name="statusList" item="vo"}
                    <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio"
                            value="{$key}" {in name="key" value="$row.status" }checked{/in} /> {$vo}</label>
                    {/foreach}
                </td>
            </tr>
            {/if} -->


        </tbody>
    </table>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<script>
    var nodeData = {: json_encode($nodeList); };
</script>